<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="utf-8"></meta>
    <title>用户修改--layui后台管理模板</title>
    <meta HTTP-EQUIV="Pragma" CONTENT="no-cache"></meta>
    <meta HTTP-EQUIV="Cache-Control" CONTENT="no-cache"></meta>
    <meta HTTP-EQUIV="Expires" CONTENT="0"></meta>
    <link rel="stylesheet" th:href="@{/static/layui/css/layui.css}" media="all"> </link>
    <style type="text/css">
        .layui-form-item .layui-inline{ width:33.333%; float:left; margin-right:0; }
        @media(max-width:1240px){
            .layui-form-item .layui-inline{ width:100%; float:none; }
        }
    </style>
</head>
<body class="childrenBody">
<form class="layui-form" name="Url" id="Url"> <!-- 提示：如果你不想用form，你可以换成div等任何一个普通元素 -->
    <div class="layui-form-item">
        <label class="layui-form-label">菜单id</label>
        <div class="layui-input-block">
            <input type="text" name="urlid" readonly="true" class="layui-input userName" lay-verify="required"  th:value="${url.urlid}"></input>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">菜单名称</label>
        <div class="layui-input-block">
            <input type="text" name="title" class="layui-input realName" lay-verify="required" placeholder="请输入菜单名称" th:value="${url.title}"></input>
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label">菜单url</label>
        <div class="layui-input-block">
            <input type="text" name="href" class="layui-input userEmail" placeholder="请输入菜单url" th:value="${url.href}"></input>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">菜单orders</label>
        <div class="layui-input-block">
            <input type="text" name="orders" class="layui-input pwd" lay-verify="required" placeholder="请输入菜单orders" th:value="${url.orders}"></input>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">父菜单id</label>
        <div class="layui-input-block">
            <input type="text" name="pid" class="layui-input pwd" lay-verify="required" placeholder="请输入菜单pid" th:value="${url.pid}"></input>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">icon</label>
        <div class="layui-input-block">
            <input type="text" name="icon" class="layui-input pwd" lay-verify="required" placeholder="请输入菜单icon" th:value="${url.icon}"></input>
        </div>
    </div>
    <div class="layui-form-item">
        <div class="layui-input-block">
            <button class="layui-btn" lay-submit="" lay-filter="updateUrl">立即提交</button>
            <button type="reset" class="layui-btn layui-btn-primary">重置</button>
        </div>
    </div>
</form>
<script type="text/javascript" th:src="@{/static/layui/layui.js}"></script>
<script type="text/javascript" th:src="@{/static/js/updateUrl.js}"></script>
</body>
</html>